define([], function() {
    var tpl = {};

    tpl.schemeClass = function() {
        return schemeClass();
    }
    tpl.add = function() {
        return add;
    }
    var schemeClass = function() {
        return  '<script id="classifyList_schemeClass" type="text/html">' +
                '   {{each list as value i}}' +
                '       <div class="classify-item">' +
                '           <div class="classify-container">' +
                '               <i class="classify-delete fa fa-times-circle"></i>' +
                '               <div class="classify-box" id="{{value.id}}"><font class="classify-name">{{value.class_name}}</font></div>' +
                '           </div>' +
                '       </div>' +
                '   {{/each}}' +
                '</script>';
    }
    var add = function() {
        return  '<script id="classifyList_add" type="text/html">' +
                '	<div class="classifyList-modal">' +
                '       <div class="form-horizontal">'+
                '           <div class="form-group">' +
                '               <label class="control-label">方案分类名称</label>'+
                '               <div class="control-input">'+
                '                   <input class="form-control" type="text" id="classifyName">' +
                '               </div>' +
                '           </div>' +
                '           <div class="form-group">' +
                '               <label class="control-label">疾病类别</label>'+
                '               <div class="control-input">'+
                '                   <select class="form-control" id="disease">'+
                '                       {{each list as value i}}'+
                '                           <option value="{{value.diseaseId}}" data-libId="{{value.libId}}">{{value.diseaseName}}({{value.libName}})</option>'+
                '                       {{/each}}'+
                '                   </select>'+
                '               </div>' +
                '           </div>' +
                '       </div>'+
                '		<div class="btn-addClassify" id="add">确定</div>' +
                '   </div>' +
                '</script>';
    }

    return tpl;
});